<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/admin.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/menu.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/image.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/power.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/imgviewer.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/add.css?1.1" />
<link rel="stylesheet" href="${staticServer}/inc/style/client.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/reserve.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/model.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/jalert.css" />
<script src="${staticServer}/inc/js/jquery.js?1.1"></script>
<script src="${staticServer}/inc/js/infopad.js?2.1"></script>
<script src="${staticServer}/inc/js/dispatcher.js?1.1"></script>
<script src="${staticServer}/inc/js/admin.js?1.1"></script>
<script src="${staticServer}/inc/js/upload.js"></script>
<script src="${staticServer}/inc/js/image.js"></script>
<script src="${staticServer}/inc/js/power.js"></script>
<script src="${staticServer}/inc/js/imgviewer.js?1.1"></script>
<script src="${staticServer}/inc/js/add.js?1.1"></script>
<script src="${staticServer}/inc/js/selclient.js?1.2"></script>
<script src="${staticServer}/inc/js/model_resp.js"></script>
<script src="${staticServer}/inc/js/model_win.js?1.3"></script>
<script src="${staticServer}/inc/js/msger.js?1.3"></script>
<script src="${staticServer}/inc/js/mask.js"></script>
<script src="${staticServer}/inc/js/msgload.js?1.3"></script>
<script src="${staticServer}/inc/js/jalert.js"></script>
<style>
a.inner_logo2 {
	width:800px;
    cursor: hand;
    display: block;
    padding-left: 360px;
    color: #ffeeee;
    font-family: "Microsoft Yahei";
    font-size: 24px;
    line-height: 55px;
}
</style>
<script>
var contextPath='${contextPath}';
function photo_click()
{
	$('#content_container').attr('src','${contextPath}/index/struct_info.htm');
}


function modify_pass()
{
	$('#content_container').attr('src','personal_password.html');
}

/**
 * 将当前窗口弹出
 */
function set_cur_model()
{
	var url = $('#content_container').attr("src");
	var title = $('#content_container').get(0).contentWindow.document.title;
	var id = url.split("?")[0];
	id = id.split(".")[0];
	id += "_"+hash(8);

	if(url.indexOf("consultant")==-1){
		infopad.err("只支持对咨询师相关功能模块，进行多窗口多事务操作。");
		return;
	}
	
	if(url=="")return;
	create_model(url,title,id);
	open_model(id);
	$('#content_container').attr("src","");
}
</script>
</head>

<body>
	<div id="framer">
		<div id="frame_left">
			<div id="frame_left_t">
				<a class="photo_frame"><img id="photo" src="${staticServer}/img/avatar/0.png" width="80" height="80"
					onclick="photo_click()" /></a>
				<p class="user_nickname"><#if webutil.getCookieUser()??>${webutil.getCookieUser().nickname}</#if></p>
				<p><#if webutil.getCookieUser()??>${webutil.getCookieUser().departments}（${webutil.getCookieUser().job}）</#if></p>
			</div>
				<#include "/leftMenu.ftl">
		</div>
		<div id="frame_right">
			<div id="frame_top" style="overflow:hidden;">
				<div id="frame_top_l">
					<a onClick="javascript:collapse_menu();" id="collapser" class="btn_collapse" title="收起菜单列表"></a> 
					<a class="inner_logo" href="#" target="_blank">竞思教育</a>
					<#if webutil.getCookieUser()??>
						<#if webutil.getCookieUser().username=="system">
						<a class="inner_logo2" target="_blank" href="http://www.yueqiao.org/web/sys/adminlogin.htm?login_name=system&password=jingsi321*">进入训练后台</a>
						</#if>
					</#if>
				</div>

				<div id="frame_top_r">
					<a href="${contextPath}/sys/loginout.htm" class="btn_exit" title="退出系统"></a><a class="btn_modify" title="修改个人登录密码"
						onClick="modify_pass()"></a>
					<!-- <a class="btn_model" title="将当前功能窗口弹出" onClick="set_cur_model()"></a> -->
				</div>
			</div>
			<div id="frame_content" style="height: 744px;">
           		 <iframe id="content_container" src="${contextPath}/index/admin_hello.htm" width="100%" height="100%" style="frameborder:0"></iframe>
			</div>
			 <div>
   <div align="center" style="filter: alpha(opacity=50);opacity: .5;">
   
   </div>
     <#if webutil.getCookieUser().type?? && webutil.getCookieUser().type!=""&&webutil.getCookieUser().type==3&&list??>
    
    <div id="test2" style="width:200px; height:150px; position:fixed; background:#fff; top:750px; left:1450px; border:1px solid ;z-index:1001;display:block;" >
   	<table  border="1">
   	             <tr>
				  <th width="100">姓名</th>
				  <th width="100">岗位</th>
				  <th width="100">部门</th>
				</tr>
				
				<#list list as list>
				<tr class="even_row">
					<td align="center"><#if list.time??>${list.time}</#if></td>
					<td align="center"><#if list.tfTime??>${list.tfTime}</#if></td>
					<td align="center"><#if list.beizhu??>${list.beizhu}</#if></td>
	                <td align="center"><a href="${contextPath}/period/addPeriodShow.htm?id=${list.id}">编辑</a></td>
				</tr>
			</#list>	
   	</table>
   </div>
   </#if>
   </div>
</body>
</html>